*{
    margin: 0;
    padding: 0;
}

ul{
    /* width: 400px; */
    
    margin: 30px;
    list-style: none;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    box-shadow: 4px 2px 16px #ccc;
}
li{cursor: pointer;
    height: 60px;
    border-bottom: 1px solid #ccc;
 position: relative;
  
    background-color: whitesmoke;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 30px;
}
li>span:nth-of-type(2){
    color: #ccc;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}
li>span:nth-of-type(3){
    color:white;
    width: 20px;
    height: 20px;
    background-color:#ccc;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
   
    position: absolute;
    left: 5px;
    top: 10px;
    border-radius: 4px;
    
}


ul li:nth-of-type(1) span:nth-of-type(3){
    background-color: red;
    box-shadow: 2px 4px 4px red;
    

}
ul li:nth-of-type(2) span:nth-of-type(3){
    background-color: yellowgreen;
    box-shadow: 2px 4px 4px yellowgreen;

}
ul li:nth-of-type(3) span:nth-of-type(3){
    background-color: green;
    box-shadow: 2px 4px 4px green;

}
.sp{
font-size: 28px;
position: absolute;
color: #ccc;
right: 10px;
}